<?php 
	
	$id = $_GET['id'];
	$idc = $_GET['idc'];
	$isi = $_GET['isi'];

	if (!isset($_SESSION)) {
		session_start();
	}

	require("akses.php");
	connect();
	if ($id != 0)
		addComment($id,$idc,$isi);
	else
		deleteComment($idc);

?>